import { createSSRApp } from 'vue';
import App from './App.vue';

// 初始化store
import store from './store';

// ui
import uviewPlus from 'uview-plus';

// 插件
import plugins from '@u/plugins';

export function createApp() {
    const app = createSSRApp(App);
    app.use(uviewPlus).use(store).use(plugins);
    return {
        app,
    };
}
